<template>
    <notFound @back="back" @index="index"></notFound>
</template>
<script>
import notFound from "@/components/404/component/index.vue";
export default {
    components: {
        notFound,
    },
    inject:['reload'],
    methods: {
        back() {
            this.$router.go(-1);
            // console.log(this.$router.go(-1));
            // this.reload();
        },
        index() {
            this.$router.push({
                name: "loading",
            });
            this.reload();
        }
    },
}
</script>
